package com.xbongbong.pro.weblist.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import com.xbongbong.pro.statistic.pojo.FiscalYearTimePojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zcp
 * @version v1.0
 * @date 2019/6/17 19:48
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class SignInStatisticDTO extends SignInDTO {
    private static final long serialVersionUID = 1961190139735034278L;

    /**
     * 分页
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{dto.msg.signInStatistic.page.NotNull}")
    private Integer page;
    /**
     * 条数
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{dto.msg.signInStatistic.pageSize.NotNull}")
    private Integer pageSize;
    /**
     * 时间筛选参数
     */
    @Getter(onMethod_ = {@QueryIgnore})
    @NotNull(message = "{dto.msg.signInStatistic.timeFilter.NotNull}")
    private FiscalYearTimePojo timeFilter;
    /**
     * 签到人筛选参数
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<String> signInPerson;
}
